package com.quick.develop.flowable.domain.vo.draft;

import com.quick.develop.flowable.domain.BpmBaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;

/**
 * @author junyuan.liu
 * @description: 
 * @date 2022/6/16 9:59
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("管理后台 - 流程草稿 VO")
@Data
public class BpmDraftReqVO extends BpmBaseDO {
    private static final long serialVersionUID = -551896510611016234L;
    @ApiModelProperty(value = "ID")
    private Long id;
    
    @ApiModelProperty(value = "流程名称")
    private String processName;
    
    @ApiModelProperty(value = "创建人")
    private String createdUserCode;
    
    @ApiModelProperty(value = "创建人")
    private String createdUserName;
    
    @ApiModelProperty(value = "开始的创建收间", notes = "搜索用")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginCreateTime;

    @ApiModelProperty(value = "结束的创建时间", notes = "搜索用")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endCreateTime;
    
}
